provider Seer POST /api/0/organizations/{organization_id_or_slug}/issues/{issue_id}/autofix/
@utdk/sentry /api/0/organizations/{organization_id_or_slug}/issues/{issue_id}/autofix/
Start Seer Issue Fix
Trigger a Seer Issue Fix run for a specific issue. The issue fix process can: - Identify the root cause of the issue - Propose a solution - Generate code changes - Create a pull request with the fix The process runs asynchronously, and you can get the state using the GET endpoint.
organization_id_or_slug path required
The ID or slug of the organization the resource belongs to.
string
issue_id path required
The ID of the issue you'd like to query.
integer

Try it

Authentication
Configure credentials for API Reference
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

startSeerIssueFix
POST/api/0/organizations/{organization_id_or_slug}/issues/{issue_id}/autofix/
Trigger a Seer Issue Fix run for a specific issue. The issue fix process can: - Identify the root cause of the issue - Propose a solution - Generate code changes - Create a pull request with the fix The process runs asynchronously, and you can get the state using the GET endpoint.

Parameters

required

The ID or slug of the organization the resource belongs to.

required

The ID of the issue you'd like to query.

Input

Which autofix step to run. * `root_cause` * `solution` * `code_changes` * `open_pr` * `coding_agent_handoff`

Where the issue fix process should stop. If not provided, will run to root cause. * `root_cause` * `solution` * `code_changes` * `open_pr`

Existing run ID to continue. If not provided, starts a new run.

Coding agent integration ID. Required for coding_agent_handoff step (unless provider is specified).

Coding agent provider (e.g., 'github_copilot'). Alternative to integration_id for user-authenticated providers.

Optional user context to append to the step prompt.

Optional repository name for which to create the pull request. Do not pass a repository name to create pull requests in all relevant repositories.

Block index to insert at. When provided, truncates blocks after this point for retry-from-step.

Referrer identifying where the issue fix was triggered from.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import sentry from '@utdk/sentry';

await sentry.startSeerIssueFix({
  "step": "root_cause"
})